Pieces
Project architecture
Let's begin by looking at the pieces in the game.
Class diagram
Pieces
This schema can be a little bit overwhelming but let's break it apart.
PieceType
This class is basically the parent class of all the pieces. It contains the methods that are common to all the pieces. Such as authorized positions, protected positions, etc.